.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section1 {
    margin: 120/$f+vw 160/$f+vw 120/$f+vw 200/$f+vw;
    position: relative;

    .sub-title {
      position: absolute;
      left: 0;

      .t {
        color: rgba(25, 25, 25, 1);
        font-size: 32/$f+vw;
        line-height: 1.32;
        letter-spacing: 3/$f+vw;
        margin-bottom: 10/$f+vw;
      }

      .des {
        color: rgba(51, 51, 51, 1);
        font-size: 20/$f+vw;
        line-height: 1.6;
      }
    }

    .path-content {
      position: relative;

      .path-txt {
        width: 996/$f+vw;
        position: absolute;
        top: 420/$f+vw;
        z-index: 1;

        .p1 {
          color: rgba(51, 51, 51, 1);
          font-size: 24/$f+vw;
          line-height: 1.6;
          text-align: center;
        }

        .jobs {
          margin: 30/$f+vw auto;
          width: 400/$f+vw;

          .swiper1 {
            .info {
              border-radius: 8/$f+vw;
              border: 1px solid #F0F0F0;
              background: #FFF;
              padding: 16/$f+vw;

              .pt {
                color: #000;
                font-size: 20/$f+vw;
              }

              .tags {
                margin: 12/$f+vw 0;

                span {
                  display: inline-block;
                  color: #000;
                  font-size: 14/$f+vw;
                  padding: 4/$f+vw 8/$f+vw;
                  border-radius: 2px;
                  background: #F0F0F0;

                  &:not(:last-child) {
                    margin-right: 8/$f+vw;
                  }
                }
              }

              .pt2 {
                color: #000;
                font-size: 14/$f+vw;
              }

              .des {
                margin-top: 12/$f+vw;
                color: #000;
                font-size: 14/$f+vw;
                line-height: 2;
              }
            }
          }

        }
        a {
          border-radius: 90px;
          border: 1px solid #E61E15;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 21/$f+vw 50/$f+vw;
          width: fit-content;
          margin: 0 auto;
          p {
            color: #E94829;
            font-size: 18/$f+vw;
            line-height: 1;
          }

          svg {
            width: 24/$f+vw;
            margin-left: 6/$f+vw;
          }
        }
      }
    }

    .path-img {
      position: relative;
      width: 1288/$f+vw;
      height: 1236/$f+vw;
      margin: 0 0 0 auto;
      li {
        position: absolute;
        width: 644/$f+vw;
        height: 309/$f+vw;
        overflow: hidden;

        &::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(230, 30, 21, 0.80);
          opacity: 0;
          transition: all 600ms;
        }

        .hover {
          display: none;
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
          width: 100%;
          text-align: center;
          color: #fff;

          strong {
            font-size: 24/$f+vw;
            font-weight: 700;
            line-height: 1;
          }

          p {
            margin-top: 20/$f+vw;
            font-size: 20/$f+vw;
            font-weight: 400;
            line-height: 1.6;
          }
        }

        .img {
          width: 100%;
          height: 100%;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        &:hover {
          &::before {
            opacity: 1;
          }

          .hover {
            display: block;
          }
        }
      }

      li:nth-child(1) {
        top: 0;
        right: 322/$f+vw;
      }

      li:nth-child(2) {
        top: 309/$f+vw;
        right: 0;
      }

      li:nth-child(3) {
        top: 618/$f+vw;
        right: 0;
      }

      li:nth-child(4) {
        top: 927/$f+vw;
        right: 644/$f+vw;
      }

      li:nth-child(5) {
        top: 927/$f+vw;
        right: 0;
      }

      .clip1 {
        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
      }

      .clip2 {
        clip-path: polygon(0 0, 75% 0, 100% 100%, 25% 100%);
      }
    }
  }

  .section2 {
    margin: 150/$f+vw 200/$f+vw;

    .t {
      color: rgba(25, 25, 25, 1);
      font-size: 32/$f+vw;
      line-height: 1.32;
    }

    .t2 {
      margin: 40/$f+vw 0 80/$f+vw 0;
      color: rgba(51, 51, 51, 1);
      font-size: 18/$f+vw;
      line-height: 1.6;
    }

    .content {
      display: flex;
      justify-content: space-between;

      .l {
        .p1 {
          color: rgba(25, 25, 25, 1);
          font-size: 24/$f+vw;
          margin-bottom: 12/$f+vw;
        }

        .p2 {
          color: rgba(25, 25, 25, 1);
          font-size: 16/$f+vw;
          line-height: 1;
        }
      }

      .r {
        width: 80%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid #EAEAEA;

        .item {
          width: 100%;
          padding: 50/$f+vw;
          position: relative;

          &::after {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            height: 1px;
            width: 100%;
            background: #EAEAEA;
          }

          .icon {
            width: 80/$f+vw;
            height: 80/$f+vw;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
              max-width: 90%;
              object-fit: contain;
            }
          }

          .p1 {
            color: rgba(51, 51, 51, 1);
            font-size: 18/$f+vw;
            line-height: 1;
            margin: 40/$f+vw 0 15/$f+vw 0;
          }

          .des {
            color: #666;
            font-size: 16/$f+vw;
            line-height: 1.6;
          }
        }
      }
    }
  }

  .section3 {
    background: url(../images/cbg.png) no-repeat;
    background-size: cover;
    padding: 146/$f+vw 200/$f+vw;
    color: white;
    margin-bottom: 80/$f+vw;

    .p1 {
      font-size: 32/$f+vw;
      line-height: 1.32;
    }

    .p2 {
      margin: 47/$f+vw 0 40/$f+vw 0;
      font-size: 20/$f+vw;
      line-height: 1.6;
    }

    .btn {
      display: flex;
      align-items: center;
      border-radius: 90/$f+vw;
      border: 1px solid white;
      padding: 16/$f+vw 45/$f+vw;
      width: fit-content;
      font-size: 18/$f+vw;
      transition: all 600ms;

      p {
        line-height: 1;
      }

      svg {
        width: 24/$f+vw;
        margin-left: 6/$f+vw;
      }

      &:hover {
        background: #E6001A;
        border-color: #E6001A;
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }

      .text {
        padding: 0 5%;
        bottom: 20px;
        ;

        .p1 {
          font-size: 24px;
        }

        .des {
          font-size: 16px;
          margin-top: 10px;
        }
      }
    }

    .nav_menu {
      padding: 0;

      a {
        padding: 15px 10px;
        font-size: 14px;
      }

      span {
        height: 10px;
      }
    }

    .section1{
       margin: 20px 5%;
       .sub-title{
         position: relative;
         width: 100%;
         .t{
          font-size: 24px;
          margin-bottom: 10px;
         }
         .des{
          font-size: 18px;
         }
       }
       .path-content{
        .path-txt{
          position: static;
          width: 100%;
          margin: 20px 0;
          .p1{
            font-size: 18px;
          }
          .jobs{
            width: 100%;
            margin: 15px auto;
            .swiper1{
              .info{
                padding: 20px;
                .pt{
                  font-size: 18px;
                }
                .tags{
                  margin: 10px 0;
                  span{
                    font-size: 14px;
                    padding: 5px 15px;
                  }
                }
                .pt2{
                  font-size: 16px;
                }
                .des{
                  font-size: 16px;
                  line-height: 1.6;
                  margin-top: 10px;
                }
              }
            }
          }
          a{
            padding: 12px 20px;
            p{
              font-size: 14px;
            }
            svg{
              width: 15px;
              margin-left: 10px;
            }
          }
        }
        .path-img{
          width: 100%;
          height: auto;
                padding: 0;
      margin: 0;
          li{
            position: relative;
            width: 100%;
            height: calc(100vw*(350 / 767));
            margin-bottom: calc(100vw*(35 / 767));
            &::before{
              content: "";
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0, 0, 0, 0.60);
              opacity: 1;
            }
            .hover{
              display: block;
              strong{
                font-size: calc(100vw*(32 / 767));
              }
              p{
                margin-top: calc(100vw*(24 / 767));
        font-size: calc(100vw*(28 / 767));
              }
            }
          }
          li:nth-child(1){
            right: auto;
          }
          li:nth-child(2){
            top: auto;
          }
          li:nth-child(3){
            top: auto;
          }
          li:nth-child(4){
            top: auto;
            right: auto;
          }
          li:nth-child(5){
            top: auto;
          }
          .clip1,.clip2{
            clip-path: none;
          }
        }
       }
    }

    .section2{
      margin: 30px 5%;
      .t{
        font-size: 24px;
      }
      .t2{
        margin: 20px 0 40px 0;
        font-size: 18px;
      }
      .content{
        .l{
          width: 30%;
          .p1{
            font-size: 18px;
            margin-bottom: 5px;
          }
          .p2{
            font-size: 16px;
          }
        }
        .r{
          width: 70%;
          grid-template-columns: repeat(1, 1fr);
          .item{
            padding: 20px 0;
            .icon{
              width: 60px;
              height: 60px;
            }
            .p1{
              font-size: 18px;
              margin: 20px 0 10px 0;
            }
            .des{
              font-size: 16px;
            }
          }
        }
      }
    }

    .section3{
       padding: 30px 5%;
       .p1{
        font-size: 18px;
       }
       .p2{
        margin: 20px 0 30px 0;
        font-size: 16px;
       }
       .btn{
        padding: 10px 30px;
        font-size: 14px;
        border-radius: 30px;
        svg{
          width: 20px;
          margin-left: 5px;
        }
       }
    }

  }
}